package com.silverbox.waimai.entity;

import java.util.Date;

/**
box_take_out_config
 */
public class TakeOutConfig {
    /**
     * 系统编号
     */
    private Integer id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 商家ID
     */
    private Integer shopId;

    /**
     * 店铺ID
     */
    private Integer storeId;

    /**
     * 外卖是否开启，0：关闭，1：开启，默认0
     */
    private Integer takeOutOpen;

    /**
     * 外卖时段，0：与门店时间保持一致，1：单独设置外卖配送时段，默认0
     */
    private Integer takeOutPeriodType;

    /**
     * 是否开启外卖预订单，0：不开启外卖预订单，1：开启外卖预订单，默认0
     */
    private Integer takeOutBook;

    /**
     * 配送方式，0：商家自己配，1：蜂鸟配送，2：达达配送，3：快跑者配送，默认0
     */
    private Integer takeOutMethod;

    /**
     * 是否已开通第三方配送店铺，0：未开通，1：已开通，默认0
     */
    private Integer takeOutThirdShopOpen;

    /**
     * 接单后自动呼叫第三方，0：关闭，1：开启，默认0
     */
    private Integer autoCall;

    /**
     * 无人接单后需手动发起配送时间
     */
    private Double callMinute;

    /**
     * 最远配送距离（单位公里）
     */
    private Double maxTakeOutDistance;

    /**
     * 起送价
     */
    private Double minimumDeliveryAmount;

    /**
     * 配送收费类型，0：按区域固定配送费；1：按距离阶梯配送，默认为区域固定配送费
     */
    private Integer takeOutBillingType;

    /**
     * 修改时间
     */
    private Date modifyTime;

    /**
     * 配送团队秘钥
     */
    private String teamToken;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getTakeOutOpen() {
        return takeOutOpen;
    }

    public void setTakeOutOpen(Integer takeOutOpen) {
        this.takeOutOpen = takeOutOpen;
    }

    public Integer getTakeOutPeriodType() {
        return takeOutPeriodType;
    }

    public void setTakeOutPeriodType(Integer takeOutPeriodType) {
        this.takeOutPeriodType = takeOutPeriodType;
    }

    public Integer getTakeOutBook() {
        return takeOutBook;
    }

    public void setTakeOutBook(Integer takeOutBook) {
        this.takeOutBook = takeOutBook;
    }

    public Integer getTakeOutMethod() {
        return takeOutMethod;
    }

    public void setTakeOutMethod(Integer takeOutMethod) {
        this.takeOutMethod = takeOutMethod;
    }

    public Integer getTakeOutThirdShopOpen() {
        return takeOutThirdShopOpen;
    }

    public void setTakeOutThirdShopOpen(Integer takeOutThirdShopOpen) {
        this.takeOutThirdShopOpen = takeOutThirdShopOpen;
    }

    public Integer getAutoCall() {
        return autoCall;
    }

    public void setAutoCall(Integer autoCall) {
        this.autoCall = autoCall;
    }

    public Double getCallMinute() {
        return callMinute;
    }

    public void setCallMinute(Double callMinute) {
        this.callMinute = callMinute;
    }

    public Double getMaxTakeOutDistance() {
        return maxTakeOutDistance;
    }

    public void setMaxTakeOutDistance(Double maxTakeOutDistance) {
        this.maxTakeOutDistance = maxTakeOutDistance;
    }

    public Double getMinimumDeliveryAmount() {
        return minimumDeliveryAmount;
    }

    public void setMinimumDeliveryAmount(Double minimumDeliveryAmount) {
        this.minimumDeliveryAmount = minimumDeliveryAmount;
    }

    public Integer getTakeOutBillingType() {
        return takeOutBillingType;
    }

    public void setTakeOutBillingType(Integer takeOutBillingType) {
        this.takeOutBillingType = takeOutBillingType;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getTeamToken() {
        return teamToken;
    }

    public void setTeamToken(String teamToken) {
        this.teamToken = teamToken == null ? null : teamToken.trim();
    }
}